<template>
  <div class="dog">
    <img src="https://www.qmbk.com/jingyan/UploadFiles_2374/202004/2020040111180041.jpg" alt=""/>
    <p>这是一只孤独可怜的狗</p>
  </div>
</template>

<script>
export default {
}

</script>

<style>
.dog  {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.dog img {
  width: 100%;
  height: 200px;
}
</style>